]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
[windowDimmer] Bump GLSL version to 1.10
authorAdel Gadllah <adel.gadllah@gmail.com>
Sat, 11 Sep 2010 19:41:47 +0000 (21:41 +0200)
committerAdel Gadllah <adel.gadllah@gmail.com>
Sat, 11 Sep 2010 19:41:47 +0000 (21:41 +0200)
The shader currently forces GLSL 1.0 to avoid being incompatible with older hardware but is still using features not available in 1.0.

Strict compilers fail to compile the shader:

error C7506: OpenGL/ES does not define the global variable gl_TexCoord

As every hardware/driver that supports 1.0 also supports 1.10 bumping the version to fix it is safe.

https://bugzilla.gnome.org/show_bug.cgi?id=629343

data/shaders/dim-window.glsl

index 9099b041ec2f5a4a06ba0d57b18166a84f41cced..935c8e239e2cdaf0feb999b1b2b0b772f69f57e6 100644 (file)
@@ -1,4 +1,4 @@
-#version 100
+#version 110
 uniform sampler2D sampler0;
 uniform float fraction;
 uniform float height;